package com.educate.member.rpc.api;

import com.educate.device.model.bo.FamilyBO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface FamilyService {

    void create(FamilyBO bo);

    void delete(FamilyBO bo);

    void delete(String familyId);

    FamilyBO detail(String familyId);

    FamilyBO detail(FamilyBO bo);

    void update(FamilyBO bo);

    Page<FamilyBO> query(FamilyBO bo, PageRequest pageRequest);

    List<FamilyBO> list(FamilyBO bo);
}
